{ The following fields only exist for QuickTime 2.0 and greater }
matrixFlags: SInt8; { high bit set if 2x resize }
matrixType: SInt8;
dstRect: Rect; { only valid for simple transforms }
{ The following fields only exist for QuickTime 2.1 and greater }
majorSourceChangeSeed: UInt16;
minorSourceChangeSeed: UInt16;
sourceData: CDSequenceDataSourcePtr;
maskRegion: RgnHandle;
{ The following fields only exist for QuickTime 2.5 and greater }
wantedDestinationPixelTypes: ^OSTypePtr; { Handle to 0-terminated list of OSTypes }
screenFloodMethod: LONGINT;
screenFloodValue: LONGINT;
preferredOffscreenPixelSize: INTEGER;
END;
CONST
matrixFlagScale2x = $00000080;
matrixFlagScale1x = $00000040;
matrixFlagScaleHalf = $00000020;
kScreenFloodMethodNone = 0;
kScreenFloodMethodKeyColor = 1;
kScreenFloodMethodAlpha = 2;
{ codec selectors 0-127 are reserved by Apple }
{ codec selectors 128-191 are subtype specific }
{ codec selectors 192-255 are vendor specific }
{ codec selectors 256-32767 are available for general use }
{ negative selectors are reserved by the Component Manager }
FUNCTION ImageCodecGetCodecInfo(ci: ComponentInstance; VAR info: CodecInfo): ComponentResult;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0004, $0000, $7000, $A82A;
{$ENDC}
FUNCTION ImageCodecGetCompressionTime(ci: ComponentInstance; src: PixMapHandle; {CONST}VAR srcRect: Rect; depth: INTEGER; VAR spatialQuality: CodecQ; VAR temporalQuality: CodecQ; VAR time: LONGINT): ComponentResult;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0016, $0001, $7000, $A82A;
{$ENDC}
FUNCTION ImageCodecGetMaxCompressionSize(ci: ComponentInstance; src: PixMapHandle; {CONST}VAR srcRect: Rect; depth: INTEGER; quality: CodecQ; VAR size: LONGINT): ComponentResult;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0012, $0002, $7000, $A82A;
{$ENDC}
FUNCTION ImageCodecPreCompress(ci: ComponentInstance; VAR params: CodecCompressParams): ComponentResult;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0004, $0003, $7000, $A82A;
{$ENDC}
FUNCTION ImageCodecBandCompress(ci: ComponentInstance; VAR params: CodecCompressParams): ComponentResult;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0004, $0004, $7000, $A82A;
{$ENDC}
FUNCTION ImageCodecPreDecompress(ci: ComponentInstance; VAR params: CodecDecompressParams): ComponentResult;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0004, $0005, $7000, $A82A;
{$ENDC}
FUNCTION ImageCodecBandDecompress(ci: ComponentInstance; VAR params: CodecDecompressParams): ComponentResult;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0004, $0006, $7000, $A82A;
{$ENDC}
FUNCTION ImageCodecBusy(ci: ComponentInstance; seq: ImageSequence): ComponentResult;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0004, $0007, $7000, $A82A;
{$ENDC}
FUNCTION ImageCodecGetCompressedImageSize(ci: ComponentInstance; desc: ImageDescriptionHandle; data: Ptr; bufferSize: LONGINT; dataProc: ICMDataProcRecordPtr; VAR dataSize: LONGINT): ComponentResult;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0014, $0008, $7000, $A82A;
{$ENDC}
FUNCTION ImageCodecGetSimilarity(ci: ComponentInstance; src: PixMapHandle; {CONST}VAR srcRect: Rect; desc: ImageDescriptionHandle; data: Ptr; VAR similarity: Fixed): ComponentResult;
FUNCTION QTPhotoSetRestartInterval(codec: ComponentInstance; restartInterval: INTEGER): ComponentResult;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0002, $0101, $7000, $A82A;
{$ENDC}
FUNCTION QTPhotoDefineHuffmanTable(codec: ComponentInstance; componentNumber: INTEGER; isDC: BOOLEAN; VAR lengthCounts: UInt8; VAR values: UInt8): ComponentResult;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $000C, $0102, $7000, $A82A;
{$ENDC}
FUNCTION QTPhotoDefineQuantizationTable(codec: ComponentInstance; componentNumber: INTEGER; VAR table: UInt8): ComponentResult;